<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>管理用户</title>
<link rel="stylesheet" type="text/css" href="${ctx}/static/css/com.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/css/ty.css" />
<style type="text/css">
.dier {
	float: right;
	height: 140px;
}

.butono1 {
	height: 50px;
	width: 100px;
	background: #5C5DBB;
	margin-top: 50px;
	margin-right: 120px;
}

.butono1 a {
	color: #FFFFFF;
}

.table {
	width: 1200px;
	margin-top: 140px;
}

.table tr {
	text-align: center;
	height: 50px;
	font: "微软雅黑" 14px bold;
}

.bbac {
	color: #FFFFFF;
	background: #5C5DBB;
}

.butono2 {
	height: 30px;
	width: 100px;
	color: #FFFFFF;
	background: #5C5DBB;
	/*margin-top: 50px;*/
}

.butono2 a {
	color: #FFFFFF;
}
/*换行*/
.pageInfo {
	font-size: 14px;
	text-align: center;
	padding-top: 10px;
	margin-top:20px;
}

.pageInfo span {
	background: #FFFFFF;
	margin: 0px 2px;
}

.nav_page {
	color: blue;
	border: 1px solid silver;
	padding: 0px 5px;
}

.active12 {
	color: #FFF;
	background: #5C5DBB;
}

/*底部*/
.footer {
	margin-top: 30px;
	height: 100px;
	background: gainsboro;
}

.footer h4 {
	margin-top: 5px;
	text-align: center;
}
</style>
</head>
<body>
	<!--头部-->
	<div id="top">
		<div class="top">
			<a class="logo" href="##"> <img src="${ctx}/static/img/鱼.png"
				style="width: 106px; height: 50px;" />
			</a>
			<ul class="nav">
				<li><a href="##">管理员中心</a></li>
			</ul>
			<div class="tool">
				<div class="search">
					
				</div>
				<div class="userbox">
					<a id="loginBtn" href="##"></a>
				</div>
				<div class="userbox1">
					<a id="loginBtn1" href="DoDelSession">退出登录</a>
				</div>
			</div>
		</div>
	</div>

	<!--第二部分-->
	<div id="tongyo">
		<div class="dier">
			<button class="butono1">
				<a href="ToUserList">管理用户</a>
			</button>
		</div>
	</div>

	<!--列表-->
	<div id="tongyo">
		<table border="1" class="table">
			<tr class="bbac">
				<td>编号</td>
				<td>商品详情</td>
				<td>状态</td>

			</tr>
			<c:forEach items="${page.list}" var="p">
				<tr>
					<td>${p.commodityId}</td>
					<td>${p.name}</td>
					<td>
						<button class="butono2">
							<a href="ToCheckDelails?id=${p.commodityId}">检查</a>
						</button>
					</td>
				</tr>
			</c:forEach>


		</table>
	</div>
	<!--换行-->
	<div class="pageInfo">
		<span class="nav_page"><a href="ToCheckList?pageNum=1">首页</a></span> <span
			class="nav_page"><a
			href="ToCheckList?pageNum=${page.upPageNum}">上一页</a></span> <span
			class="nav_page"><a
			href="ToCheckList?pageNum=${page.nextPageNum}">下一页</a></span> <span
			class="wcm_pointer nav_go_next"> <a
			href="ToCheckList?pageNum=${page.allPageNum}">尾页</a>
		</span>
	</div>

	
</body>
</html>
